python vs javascript speed